//
//  KLMDeviceListInfo.swift
//  KLM_GN
//
//  Created by Nic on 2025/2/27.
//

import UIKit

struct KLMDeviceListInfo {
    var iconName: String?
    var deviceName: String
    var roomName: String = "" // 位于哪个房间
    var mode: String = "" // 当前的模式
    var on: Bool = false // 开关状态
    
    init(iconName: String? = nil, deviceName: String, roomName: String, mode: String, on: Bool) {
        self.iconName = iconName
        self.deviceName = deviceName
        self.roomName = roomName
        self.mode = mode
        self.on = on
    }
    
    static func deviceLists(room: String) -> [KLMDeviceListInfo] {
        var list = [KLMDeviceListInfo]()
        list.append(KLMDeviceListInfo(deviceName: "雅典娜线条灯", roomName: room, mode: "阅屏模式", on: false))
        return list
    }
}
